package dispatcher.group.gui.listener;

import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;

import messages.KillOrderMessage;

import dispatcher.gui.GroupDispatcherView;
import dispatcher.gui.event.KillElevatorThread;

public class ElevatorKillListener implements ActionListener {

	@Override
	public void actionPerformed(ActionEvent arg0) {
		KillOrderMessage message = new KillOrderMessage();
		(new KillElevatorThread(message, GroupDispatcherView.getInstance().getNetworkHandler())).start();

	}

}
